// 通用组件配置选项 - 表单
export const sizeOptions = [
  { value: 'small', label: '小' },
  { value: 'default', label: '默认' },
  { value: 'large', label: '大' },
]
export const inlineOptions = [
  { value: true, label: '行内显示' },
  { value: false, label: '默认显示' },
]
export const labelPositionOptions = [
  { value: 'left', label: '左侧' },
  { value: 'right', label: '右侧' },
  { value: 'top', label: '顶部' },
]
export const labelSuffixOptions = [
  { value: '：', label: '显示' },
  { value: '', label: '隐藏' },
]
export const disabledOptions = [
  { value: true, label: '禁用' },
  { value: false, label: '编辑' },
]
export const hideRequiredAsteriskOptions = [
  { value: true, label: '隐藏' },
  { value: false, label: '显示' },
]
export const requireAsteriskPositionOptions = [
  { value: 'left', label: '左侧' },
  { value: 'right', label: '右侧' },
]
export const marks = {
  80: {
    style: { color: '#f05995' },
    label: '80',
  },
  110: {
    style: { color: '#1989FA' },
    label: '110',
  },
  150: {
    style: { color: '#6222c2' },
    label: '150',
  },
}
export const yesOrNoOptions = [
  { value: true, label: '是' },
  { value: false, label: '否' },
]

// 数据源
export const dataSourceTypeOptions = [
  { value: 'local', label: '本地' },
  { value: 'remote', label: '远程' },
]
export const methodTypeOptions = [
  { value: 'get', label: 'GET' },
  { value: 'post', label: 'POST' },
]

// 组件属性选项
export const tagOptions = [
  { label: 'H1', value: 'h1' },
  { label: 'H2', value: 'h2' },
  { label: 'H3', value: 'h3' },
  { label: 'H4', value: 'h4' },
  { label: 'H5', value: 'h5' },
  { label: 'H6', value: 'h6' },
]
export const fontWeightOptions = [
  { label: '轻', value: 'lighter' },
  { label: '中', value: 'normal' },
  { label: '重', value: 'bold' },
  { label: '更重', value: 'bolder' },
]
export const fontFamilyOptions = ['auto', 'cursive', 'fangsong', 'serif']
export const textAlignOptions = [
  { label: '居左', value: 'left' },
  { label: '居中', value: 'center' },
  { label: '居右', value: 'right' },
]
export const colorOptions = [
  '#ff8c00',
  '#00ced1',
  '#c71585',
  'rgba(255, 69, 0, 0.68)',
  'rgb(255, 120, 0)',
  'hsv(51, 100, 98)',
  'hsva(120, 40, 94, 0.5)',
  'hsl(181, 100%, 37%)',
  'hsla(209, 100%, 56%, 0.73)',
  '#c7158577',
]
export const typeOptions = [
  { value: 'text', label: '文本' },
  { value: 'textarea', label: '多行文本' },
  { value: 'password', label: '密码' },
  { value: 'number', label: '数字' },
]
export const contentPositionOptions = [
  { label: '居左', value: 'left' },
  { label: '居中', value: 'center' },
  { label: '居右', value: 'right' },
]
export const directionOptions = [
  { label: '水平', value: 'horizontal' },
  { label: '垂直', value: 'vertical' },
]
export const borderStyleOptions = [
  { label: '无', value: 'none' },
  { label: '实线', value: 'solid' },
  { label: '双实线', value: 'double' },
  { label: '虚线', value: 'dashed' },
  { label: '点线', value: 'dotted' },
]
export const controlsPositionOptions = [
  { value: '', label: '默认' },
  { value: 'right', label: '右侧' },
]
export const textTypeOptions = [
  { value: '', label: '默认' },
  { value: 'primary', label: '主题' },
  { value: 'success', label: '成功' },
  { value: 'warning', label: '警告' },
  { value: 'info', label: '信息' },
]
export const textSizeOptions = [
  { value: 'large', label: '较大' },
  { value: 'default', label: '默认' },
  { value: 'small', label: '较小' },
]
export const textTagOptions = [
  'span',
  'p',
  'b',
  'i',
  'sub',
  'sup',
  'ins',
  'del',
  'mark',
]
export const justifyOptions = [
  { value: 'start', label: '左对齐' },
  { value: 'center', label: '中间对齐' },
  { value: 'end', label: '右对齐' },
  { value: 'space-around', label: '列格平分' },
  { value: 'space-between', label: '两侧对齐' },
  { value: 'space-evenly', label: '行平分' },
]
export const alignOptions = [
  { value: 'top', label: '顶部对齐' },
  { value: 'middle', label: '中间对齐' },
  { value: 'bottom', label: '底部对齐' },
]
